import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path: "departments",
    loadChildren: "./departments/departments.module#DepartmentsModule"
  },
  {
    path: "entinfos",
    loadChildren: "./entinfos/entinfos.module#EntinfosModule"
  },
  {
    path: "govinfos",
    loadChildren: "./govinfos/govinfos.module#GovinfosModule"
  },
  {
    path: "regions",
    loadChildren: "./regions/regions.module#RegionsModule"
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class OrganizationRoutingModule { }
